﻿@page "/colorpickers"
@inject IStringLocalizer<ColorPickers> Localizer

<h3>@Localizer["Title"]</h3>

<h4>@Localizer["Description"]</h4>

<DemoBlock Title="@Localizer["NormalTitle"]" Introduction="@Localizer["NormalIntro"]" Name="Normal" Demo="typeof(Demos.ColorPicker.ColorPickerNormal)" />

<DemoBlock Title="@Localizer["ValueTitle"]" Introduction="@Localizer["ValueIntro"]" Name="Value" Demo="typeof(Demos.ColorPicker.ColorPickerValue)">
    <p>@((MarkupString)Localizer["ValueDescription"].Value)</p>
</DemoBlock>

<DemoBlock Title="@Localizer["BindValueTitle"]" Introduction="@Localizer["BindValueIntro"]" Name="BindValue" Demo="typeof(Demos.ColorPicker.ColorPickerBindValue)" />

<DemoBlock Title="@Localizer["DisabledTitle"]" Introduction="@Localizer["DisabledIntro"]" Name="Disabled" Demo="typeof(Demos.ColorPicker.ColorPickerDisabled)" />

<DemoBlock Title="@Localizer["ValidateFormTitle"]" Introduction="@Localizer["ValidateFormIntro"]" Name="ValidateForm" Demo="typeof(Demos.ColorPicker.ColorPickerValidateForm)" />

<AttributeTable Items="@GetAttributes()" />
